<?php
session_start();
include 'phpLibrary.php';

if(isset($_POST['btnSubmit'])){

$userAuthName = $_SESSION['username'];
$userAuthPassHash = $_SESSION['password'];
$empFname = $_POST['fName']; 
$empLname = $_POST['lName'];
$startDate = $_POST['sDate'];
$endDate = $_POST['eDate'];
$empStatus = $_POST['status'];
$address = $_POST['address'];
 $email = $_POST['email'];
 $phoneNum = $_POST['phone'];
$managerID = $_POST['auth'];
$empID = $_POST['id'];

modifyEmployee($userAuthName, $userAuthPassHash, $empFname, $empLname, $startDate, $endDate, $empStatus, $address, $email, $phoneNum, $managerID, $empID);
}
else
echo 'Error';


?>

